
package Model;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;

public class Item {

	private String data;

	private String id_item;

	private boolean is_disponivel;




	public void setId_item(String id_item) {

		this.id_item = id_item;
	}




	public void setData(String data) {

	}




	public String getId_item() {

		return id_item;
	}




	public String getData() {

		return this.data;
	}




	public String getDataSystem() {

		DateFormat df = new SimpleDateFormat("dd/MM/yyyy");
		Calendar c = Calendar.getInstance();
		return df.format(c.getTime());
	}




	public void setIs_disponivel(boolean is_disponivel) {

		this.is_disponivel = is_disponivel;
	}




	public boolean is_disponivel() {

		return is_disponivel;
	}

}
